<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>iframe1</title>

    <script type="text/javascript">
        function frame1_func() {
            alert("你调用了frame1的函数！");
        }
    </script>
</head>

<body>
<h1>这是iframe1</h1>
</body>
</html>